package com.owc.domain.vo.admin;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @Author Jackies
 * @Date 2019/12/8 21:52
 * @Description TODO://
 **/
@Data
public class AdminLoginVo {

    @NotNull(message = "请输入账号")
    @Size(min = 1,message = "账户长度错误")
    private String userName;

    @NotNull(message = "请输入密码")
    @Size(min = 1,message = "密码长度错误")
    private String password;
}
